package com.turing.post.selfwebservice.util;

import java.io.Serializable;

import com.turing.post.common.util.MerchantOper;
import com.turing.post.util.PCPSWebReturn;

@SuppressWarnings("serial")
public class SelfWSLogonResult extends PCPSWebReturn implements Serializable {
	private MerchantOper merchantOper = null;
	private CardHolderUser cardHolderUser = null;

	public SelfWSLogonResult() {
		super();
	}

	public SelfWSLogonResult(CardHolderUser cardHolderUser) {
		super(true);
		this.cardHolderUser = cardHolderUser;
	}

	public SelfWSLogonResult(MerchantOper merchantOper) {
		super(true);
		this.merchantOper = merchantOper;
	}

	public SelfWSLogonResult(boolean isSuccess, String excepCode,
			String excepMessage) {
		super(isSuccess, excepCode, excepMessage);
	}

	public MerchantOper getMerchantOper() {
		return merchantOper;
	}

	public void setMerchantOper(MerchantOper merchantOper) {
		this.merchantOper = merchantOper;
	}

	public CardHolderUser getCardHolderUser() {
		return cardHolderUser;
	}

	public void setCardHolderUser(CardHolderUser cardHolderUser) {
		this.cardHolderUser = cardHolderUser;
	}

}
